package com.ktgj.customer.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.customer.mapper.CaseComplaintReimbMapper;
import com.ktgj.customer.domain.CaseComplaintReimb;
import com.ktgj.customer.service.ICaseComplaintReimbService;

/**
 * 投诉工单_投诉赔偿结果Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-05-27
 */
@Service
public class CaseComplaintReimbServiceImpl implements ICaseComplaintReimbService 
{
    @Autowired
    private CaseComplaintReimbMapper caseComplaintReimbMapper;

    /**
     * 查询投诉工单_投诉赔偿结果
     * 
     * @param caseComplaintReimbId 投诉工单_投诉赔偿结果ID
     * @return 投诉工单_投诉赔偿结果
     */
    @Override
    public CaseComplaintReimb selectCaseComplaintReimbById(Long caseComplaintReimbId)
    {
        return caseComplaintReimbMapper.selectCaseComplaintReimbById(caseComplaintReimbId);
    }

    /**
     * 查询投诉工单_投诉赔偿结果列表
     * 
     * @param caseComplaintReimb 投诉工单_投诉赔偿结果
     * @return 投诉工单_投诉赔偿结果
     */
    @Override
    public List<CaseComplaintReimb> selectCaseComplaintReimbList(CaseComplaintReimb caseComplaintReimb)
    {
        return caseComplaintReimbMapper.selectCaseComplaintReimbList(caseComplaintReimb);
    }

    /**
     * 新增投诉工单_投诉赔偿结果
     * 
     * @param caseComplaintReimb 投诉工单_投诉赔偿结果
     * @return 结果
     */
    @Override
    public int insertCaseComplaintReimb(CaseComplaintReimb caseComplaintReimb)
    {
        return caseComplaintReimbMapper.insertCaseComplaintReimb(caseComplaintReimb);
    }

    /**
     * 修改投诉工单_投诉赔偿结果
     * 
     * @param caseComplaintReimb 投诉工单_投诉赔偿结果
     * @return 结果
     */
    @Override
    public int updateCaseComplaintReimb(CaseComplaintReimb caseComplaintReimb)
    {
        return caseComplaintReimbMapper.updateCaseComplaintReimb(caseComplaintReimb);
    }

    /**
     * 批量删除投诉工单_投诉赔偿结果
     * 
     * @param caseComplaintReimbIds 需要删除的投诉工单_投诉赔偿结果ID
     * @return 结果
     */
    @Override
    public int deleteCaseComplaintReimbByIds(Long[] caseComplaintReimbIds)
    {
        return caseComplaintReimbMapper.deleteCaseComplaintReimbByIds(caseComplaintReimbIds);
    }

    /**
     * 删除投诉工单_投诉赔偿结果信息
     * 
     * @param caseComplaintReimbId 投诉工单_投诉赔偿结果ID
     * @return 结果
     */
    @Override
    public int deleteCaseComplaintReimbById(Long caseComplaintReimbId)
    {
        return caseComplaintReimbMapper.deleteCaseComplaintReimbById(caseComplaintReimbId);
    }
}
